<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="type">
            <li class="{:$Think.get.type === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a>
            </li>
            {foreach name="typeList" item="vo"}
            <li class="{:$Think.get.type === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}"
                                                                               data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>


    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>
                        <!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('service/proposal/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
                        <!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('service/proposal/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
                        <!--                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('service/proposal/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->
                        <!--                        -->

                        <div class="dropdown btn-group {:$auth->check('service/proposal/multi')?'':'hide'}">
                            <!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
                            <ul class="dropdown-menu text-left" role="menu">
                                {foreach name="typeList" item="vo"}
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:"
                                       data-params="type={$key}">{:__('Set type to ' . $key)}</a></li>
                                {/foreach}
                            </ul>
                        </div>


                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('service/proposal/edit')}"
                           data-operate-del="{:$auth->check('service/proposal/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>

    <!-- 定义弹窗的HTML -->
    <div id="popup" style="display:none">
        <form class="form-horizontal" action="" style="overflow: hidden">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
                <div class="col-xs-12 col-sm-8">

                    <select id="c-type" class="form-control selectpicker" name="row[type]">
                        <option value="申诉成功">申诉成功</option>
                        <option value="申诉失败">申诉失败</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">备注:</label>
                <div class="col-xs-12 col-sm-8">
                    <textarea id="c-info" class="form-control" cols="30" rows="5"></textarea>
                </div>
            </div>
            <input type="hidden" id="id" value="">
            <div style="width: 100%;
                        margin: 0 -80px;
                        display: flex;
                        justify-content: right;">
                <button class="btn btn-primary btn-embossed" type="button" id="tongzhipost">提交</button>
            </div>
        </form>
    </div>
</div>
